import { FC } from "react"

import TimeRange from "../timeRange"

const CreatedAtTimeRange: FC<any> = ({ setFieldValue }) => {
	return (
		<TimeRange
			setFieldValue={setFieldValue}
			label="label.created_at_time_range"
			fieldName="createdAt"
			startFieldName="startCreatedAt"
			endFieldName="endCreatedAt"
		/>
	)
}

export default CreatedAtTimeRange
